<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns="http://www.w3.org/1999/xhtml" version="1.1">

<xsl:template match="/root">
<html xml:lang="en">
    <head>
        <title><xsl:value-of select="$pageTitle" /></title>
        <meta http-equiv="Content-Type">
            <xsl:attribute name="content"><xsl:value-of select="$contentType"/>; charset=utf-8</xsl:attribute>
        </meta>
        <link rel="stylesheet" type="text/css" media="screen">
            <xsl:attribute name="href">min/?f=<xsl:value-of select="$templatePath"/>/css/style.css</xsl:attribute>
        </link>
    </head>
    <body>
    <div id="bgTop"><!-- Design Element --></div>
    <div id="wrapper">
        <div class="leftShadow"><!-- Design Element -->
            <div class="rightShadow"><!-- Design Element -->
                <div class="topShadow"><!-- Design Element --></div>
                <div id="header">
                    <xsl:apply-templates select="parcels/header" />
                </div>
                <div id="topLeftCorner"><!-- Design Element --></div>
                <div id="topRightCorner"><!-- Design Element --></div>
                <div id="headerLeftShadow"><!-- Design Element --></div>
                <div id="headerRightShadow"><!-- Design Element --></div>
                <div id="content">
                    <xsl:apply-templates select="parcels/rightSidebar"/>
                    <xsl:apply-templates select="content"/>
                    <div class="clearer"><!-- Design Element --></div>
                </div>
                <div id="footer">
                    <xsl:apply-templates select="parcels/footer"/>
                </div>
                <div class="clearer"><!-- Design Element --></div>
                <div class="bottomShadow"><!-- Design Element --></div>
                <div id="bottomLeftCorner"><!-- Design Element --></div>
                <div id="bottomRightCorner"><!-- Design Element --></div>
            </div>
        </div>
        <div id="logo"></div>
    </div>
    </body>
</html>
</xsl:template>

<xsl:template match="parcels/footer">
<xsl:apply-templates/>
<p>Copyright 2006 Simplist Solutions AB</p>
</xsl:template>

<xsl:template match="parcels/rightSidebar">
<div class="rightSidebar">
<xsl:apply-templates/>
</div>
</xsl:template>

</xsl:stylesheet>